<template>
  <div class="app-container">
  	<mytable ref="table" @getList="getList" :listQuery="{}" :loading="false">
  		<el-table-column prop="supplierName" label="合作商名称" align="center" width="200"></el-table-column>
  		<el-table-column prop="supplierNumber" label="合作商编码" align="center" width="200"></el-table-column>
  		<el-table-column prop="esCount" label="ES索引中数量" align="center" width="200"></el-table-column>
  		<el-table-column prop="mysqlCount" label="Mysql中数量" align="center" width="200"></el-table-column>
  	</mytable>
  </div>
</template>

<script>
import apiGoods from "@/api/goodsManage/goodslibrary"
import mytable from "@/components/Table";
export default {
  name: "esMysql",
  components: {mytable },
  data() {
    return {
    };
  },
  methods: {
  	getList(){
  		apiGoods.esMysql().then(res=>{
  			this.$refs.table.load(res.data.list, 0);
  		})
  	}
  }
};
</script>

<style scoped>
</style>